package ru.vba.pojo;

import java.util.ArrayList;
import java.util.List;

public class Player {
	private List<List<Cell>> words;
	private List<Point> points;
	private int score;
	public List<List<Cell>> getWords() {
		return words;
	}
	public List<Point> getPoints() {
		return points;
	}
	public int getScore() {
		return score;
	}
	public void setWords(List<List<Cell>> words) {
		this.words = words;
	}
	public void setPoints(List<Point> points) {
		this.points = points;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public void upScore(int point) {
		this.score += point;
	}
	public void upWord(List<Cell> result) {
		if (words == null){
			words = new ArrayList<List<Cell>>();
		}
		words.add(result);
	}

}
